package com.dongdongshop.service;

import com.dongdongshop.page.PageBeen;
import com.dongdongshop.pojo.TbItemCat;
import com.dongdongshop.pojo.TbSpecification;
import com.dongdongshop.pojo.TbSpecificationOption;
import com.dongdongshop.vo.SpecVO;

import java.util.List;

public interface TbSpecificationService {
    PageBeen<TbSpecification> getSpecification(String specName,Integer pageNum, Integer pageSize);

    int addInfo(TbSpecification tbSpecification, List<TbSpecificationOption> tbsp);

    int deleteInfo(Integer[] ids);

    SpecVO toUpdate(Long id);

    int updateInfo(TbSpecification tbSpecification, List<TbSpecificationOption> options);

}
